package com;

import java.nio.ByteBuffer;

public class ThirdClass {

	public void testThird(){
		ByteBuffer buffer = ByteBuffer.allocate(64);
		buffer.putInt(30);
		buffer.putLong(1000L);
		buffer.putChar('A');
		
		buffer.flip();
		
		System.out.println(buffer.getInt());
		System.out.println(buffer.getLong());
		System.out.println(buffer.getChar());
		
	}
}
